package com.obas.model.business;

import java.util.Date;

import com.ease.model.NamespaceModel;

public class AaaSession extends NamespaceModel {

	/**
	 *
	 */
	private static final long serialVersionUID = 4923025550499211652L;

	private Boolean enabled;
	/** 帐号 */
	private String username;
	/** 域名 */
	private String realmname;
	/** 上线时间 */
	private Date startTime;
	/** 下线时间 */
	private Date stopTime;
	/** 开始时间 */
	private int timeLen;
	/** 出流量 */
	private long outOctets;
	/** 入流量 */
	private long inOctets;
	/** 出包数 */
	private long outPackets;
	/** 入包数 */
	private long inPackets;
	/** nasip */
	private String nasIp;
	/** nasport */
	private String nasPort;
	/** nasporttype */
	private short nasPortType;
	/** 接入属性 */
	private String bindAttr;
	/** mac */
	private String mack;
	/** sessionid */
	private String sessionId;
	/** 接入属地 */
	private String identifier;
	/** 漫游标记 */
	private short roamFlag;
	/** 下线原因 */
	private short downReason;
	/** 用户ip */
	private String frameIp;
	/** 服务类型 */
	private short serviceType;
	/** 注册属地 */
	private String areaCode;

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the realmname
	 */
	public String getRealmname() {
		return realmname;
	}

	/**
	 * @param realmname
	 *            the realmname to set
	 */
	public void setRealmname(String realmname) {
		this.realmname = realmname;
	}

	/**
	 * @return the startTime
	 */
	public Date getStartTime() {
		return startTime;
	}

	/**
	 * @param startTime
	 *            the startTime to set
	 */
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	/**
	 * @return the stopTime
	 */
	public Date getStopTime() {
		return stopTime;
	}

	/**
	 * @param stopTime
	 *            the stopTime to set
	 */
	public void setStopTime(Date stopTime) {
		this.stopTime = stopTime;
	}

	/**
	 * @return the timeLen
	 */
	public int getTimeLen() {
		return timeLen;
	}

	/**
	 * @param timeLen
	 *            the timeLen to set
	 */
	public void setTimeLen(int timeLen) {
		this.timeLen = timeLen;
	}

	/**
	 * @return the outOctets
	 */
	public long getOutOctets() {
		return outOctets;
	}

	/**
	 * @param outOctets
	 *            the outOctets to set
	 */
	public void setOutOctets(long outOctets) {
		this.outOctets = outOctets;
	}

	/**
	 * @return the inOctets
	 */
	public long getInOctets() {
		return inOctets;
	}

	/**
	 * @param inOctets
	 *            the inOctets to set
	 */
	public void setInOctets(long inOctets) {
		this.inOctets = inOctets;
	}

	/**
	 * @return the outPackets
	 */
	public long getOutPackets() {
		return outPackets;
	}

	/**
	 * @param outPackets
	 *            the outPackets to set
	 */
	public void setOutPackets(long outPackets) {
		this.outPackets = outPackets;
	}

	/**
	 * @return the inPackets
	 */
	public long getInPackets() {
		return inPackets;
	}

	/**
	 * @param inPackets
	 *            the inPackets to set
	 */
	public void setInPackets(long inPackets) {
		this.inPackets = inPackets;
	}

	/**
	 * @return the nasIp
	 */
	public String getNasIp() {
		return nasIp;
	}

	/**
	 * @param nasIp
	 *            the nasIp to set
	 */
	public void setNasIp(String nasIp) {
		this.nasIp = nasIp;
	}

	/**
	 * @return the nasPort
	 */
	public String getNasPort() {
		return nasPort;
	}

	/**
	 * @param nasPort
	 *            the nasPort to set
	 */
	public void setNasPort(String nasPort) {
		this.nasPort = nasPort;
	}

	/**
	 * @return the nasPortType
	 */
	public short getNasPortType() {
		return nasPortType;
	}

	/**
	 * @param nasPortType
	 *            the nasPortType to set
	 */
	public void setNasPortType(short nasPortType) {
		this.nasPortType = nasPortType;
	}

	/**
	 * @return the bindAttr
	 */
	public String getBindAttr() {
		return bindAttr;
	}

	/**
	 * @param bindAttr
	 *            the bindAttr to set
	 */
	public void setBindAttr(String bindAttr) {
		this.bindAttr = bindAttr;
	}

	/**
	 * @return the mack
	 */
	public String getMack() {
		return mack;
	}

	/**
	 * @param mack
	 *            the mack to set
	 */
	public void setMack(String mack) {
		this.mack = mack;
	}

	/**
	 * @return the sessionId
	 */
	public String getSessionId() {
		return sessionId;
	}

	/**
	 * @param sessionId
	 *            the sessionId to set
	 */
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	/**
	 * @return the identifier
	 */
	public String getIdentifier() {
		return identifier;
	}

	/**
	 * @param identifier
	 *            the identifier to set
	 */
	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	/**
	 * @return the roamFlag
	 */
	public short getRoamFlag() {
		return roamFlag;
	}

	/**
	 * @param roamFlag
	 *            the roamFlag to set
	 */
	public void setRoamFlag(short roamFlag) {
		this.roamFlag = roamFlag;
	}

	/**
	 * @return the downReason
	 */
	public short getDownReason() {
		return downReason;
	}

	/**
	 * @param downReason
	 *            the downReason to set
	 */
	public void setDownReason(short downReason) {
		this.downReason = downReason;
	}

	/**
	 * @return the frameIp
	 */
	public String getFrameIp() {
		return frameIp;
	}

	/**
	 * @param frameIp
	 *            the frameIp to set
	 */
	public void setFrameIp(String frameIp) {
		this.frameIp = frameIp;
	}

	/**
	 * @return the serviceType
	 */
	public short getServiceType() {
		return serviceType;
	}

	/**
	 * @param serviceType
	 *            the serviceType to set
	 */
	public void setServiceType(short serviceType) {
		this.serviceType = serviceType;
	}

	/**
	 * @return the enabled
	 */
	public Boolean getEnabled() {
		return enabled;
	}

	/**
	 * @param enabled
	 *            the enabled to set
	 */
	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	/**
	 * @return the areaCode
	 */
	public String getAreaCode() {
		return areaCode;
	}

	/**
	 * @param areaCode
	 *            the areaCode to set
	 */
	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

}
